From e9c58fe706839ee13d2b4f0346271a121998070f Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Sat, 26 Mar 2016 08:28:20 -0700 Subject: [PATCH] build: Set G_LOG_DOMAIN to OSTree This will allow ostree programs to filter log messages specifically for OSTree instead of using the NULL domain for ostree debugging. https://bugzilla.gnome.org/show_bug.cgi?id=764237 Closes: #225 Approved by: cgwalters --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index a485cc75..e25842d9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -24,6 +24,7 @@ AM_CPPFLAGS += -DDATADIR='"$(datadir)"' -DLIBEXECDIR='"$(libexecdir)"' \ -DLOCALEDIR=\"$(datadir)/locale\" -DSYSCONFDIR=\"$(sysconfdir)\" \ -DSHORTENED_SYSCONFDIR=\"$(shortened_sysconfdir)\" \ -DOSTREE_FEATURES='"$(OSTREE_FEATURES)"' \ + -DG_LOG_DOMAIN=\"OSTree\" \ -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 \ -DSOUP_VERSION_MIN_REQUIRED=SOUP_VERSION_2_40 -DSOUP_VERSION_MAX_ALLOWED=SOUP_VERSION_2_48 AM_CFLAGS += $(WARN_CFLAGS) -- 2.30.2